﻿<Window x:Class="SQLDataTransferer.Common.Dialogs.MessageDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MessageDialog" 
        Width="250"
        Height="100" 
        WindowStartupLocation="CenterOwner"
        AllowsTransparency="True"
        Opacity="1"
        WindowStyle="None"
        Background="{x:Null}"
        Style="{StaticResource Window}">
    <Border Style="{StaticResource bBorder}">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <TextBox x:Name="txtMessage"
                     Margin="5"
                     BorderThickness="0"
                     Background="Transparent"                     
                     IsReadOnly="True"
                     TextWrapping="Wrap"
                     VerticalContentAlignment="Center"
                     HorizontalContentAlignment="Center"
                     ScrollViewer.CanContentScroll="True"
                     VerticalScrollBarVisibility="Auto" />
            <Button Grid.Row="1"
                Height="25"
                Width="120"
                Margin="5"
                Content="OK"
                HorizontalAlignment="Center" Click="Button_Click">
            </Button>
        </Grid>
    </Border>
</Window>
